package cn.edu.scau.cmi.chenruilin.hibernate;



public class Student implements java.io.Serializable{
	private Long id;
	private String name;
	private Teacher teacher;
	private String gendar;
	
	
	public Student() {
	}


	public String getGendar() {
		return gendar;
	}


	public void setGendar(String gendar) {
		this.gendar = gendar;
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public Teacher getTeacher() {
		return teacher;
	}


	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	
	
	
}
